package org.dromara.bean.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 退费模型--
 * @Author: jeecg-boot
 * @Date: 2020-08-08
 * @Version: V1.0
 */
@Data
@TableName("his_member_refund")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)

public class HisMemberRefundModel implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
    * 主键
    */
    @TableId(type = IdType.AUTO)
    private String id;
    /**
    * 标题
    */

    private String remark;

    private Double money;

    private String checkStatus;

    private String status;

    private Long memberId;
    private String memberName;

    private String doctorName;

    private String orderTreatId;
    private String orderTreatNumber;

    private String refundCause;


    private String refuseCause;

    @JsonFormat(
            timezone = "GMT+8",
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )

    private Date createTime;
    @JsonFormat(
            timezone = "GMT+8",
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )

    private Date realRefundTime;

    @JsonFormat(
            timezone = "GMT+8",
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    @DateTimeFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )

    private Date updateTime;

    private String accessory;
    private String[] accessories;
    private String accessoryAbsolutePath;


    private String operator;


    private Integer orderType;

    private String departmentName;
}
